<?php

// +----------------------------------------------------------------------
// | H1CMS © OpenSource CMS
// +----------------------------------------------------------------------
// | Copyright (c) 2014-2016 http://www.h1cms.com All rights reserved.
// | Copyright (c) 2014-2016 嘉兴领格信息技术有限公司，并保留所有权利。
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: Allen <allen@lg4.cn>
// +----------------------------------------------------------------------

return [
	'sort_order' => 100,
	'label' => '插件管理',
	'permission' => 'admin.menu.plugins',
	'link' => '',
	'icon' => 'fa fa-plug',
	'submenu' => [
		[
			'label' => __('插件列表'),
			'link' => url_for('/plugins/plugins.php'),
			'permission' => 'admin.menu.plugins.plugins.index',
		],
		[
			'label' => __('安装插件'),
			'link' => url_for('/plugins/plugins.php',['action'=>'add']),
			'permission' => 'admin.menu.plugins.plugins.add',
		],
	],
];
